home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / alaskan-adversary.swf / scripts / frame_29 / PlaceObject2_1015_268 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2008-09-11  |  13.4 KB  |  265 lines

  1. onClipEvent(enterFrame){
  2.    function ┬º\x01\x02┬º()
  3.    {
  4.       return 1101 % 511 * 5;
  5.    }
  6.    var ┬º\x01┬º = -82 + "\x01\x02"();
  7.    while(true)
  8.    {
  9.       if(eval("\x01") == 313)
  10.       {
  11.          set("\x01",eval("\x01") + 673);
  12.          ┬º┬ºpush(true);
  13.       }
  14.       else
  15.       {
  16.          if(eval("\x01") == 800)
  17.          {
  18.             set("\x01",eval("\x01") - 11);
  19.             if(eval(┬º┬ºconstant(0))[┬º┬ºconstant(10)][┬º┬ºconstant(6)](┬º┬ºpop() + getProperty(┬º┬ºpop(), _X) / 2 + eval(┬º┬ºconstant(11)),┬º┬ºpop(),┬º┬ºpop()) || eval(┬º┬ºconstant(0))[┬º┬ºconstant(10)][┬º┬ºconstant(6)](getProperty(┬º┬ºconstant(9), _X) + getProperty(┬º┬ºconstant(9), _width) / 2 + eval(┬º┬ºconstant(11)),getProperty(┬º┬ºconstant(9), _Y) - getProperty(┬º┬ºconstant(9), _height) / 6,true) || eval(┬º┬ºconstant(0))[┬º┬ºconstant(10)][┬º┬ºconstant(6)](getProperty(┬º┬ºconstant(9), _X) + getProperty(┬º┬ºconstant(9), _width) / 2 + eval(┬º┬ºconstant(11)),getProperty(┬º┬ºconstant(9), _Y) - getProperty(┬º┬ºconstant(9), _height),true))
  20.             {
  21.                setProperty(┬º┬ºconstant(9), _X, getProperty(┬º┬ºconstant(9), _X) - eval(┬º┬ºconstant(2)));
  22.             }
  23.             if(eval(┬º┬ºconstant(0))[┬º┬ºconstant(10)][┬º┬ºconstant(6)](getProperty(┬º┬ºconstant(9), _X) - getProperty(┬º┬ºconstant(9), _width) / 2 - eval(┬º┬ºconstant(11)),getProperty(┬º┬ºconstant(9), _Y) - getProperty(┬º┬ºconstant(9), _height) / 2,true) || eval(┬º┬ºconstant(0))[┬º┬ºconstant(10)][┬º┬ºconstant(6)](getProperty(┬º┬ºconstant(9), _X) - getProperty(┬º┬ºconstant(9), _width) / 2 - eval(┬º┬ºconstant(11)),getProperty(┬º┬ºconstant(9), _Y) - getProperty(┬º┬ºconstant(9), _height) / 6,true) || eval(┬º┬ºconstant(0))[┬º┬ºconstant(10)][┬º┬ºconstant(6)](getProperty(┬º┬ºconstant(9), _X) - getProperty(┬º┬ºconstant(9), _width) / 2 - eval(┬º┬ºconstant(11)),getProperty(┬º┬ºconstant(9), _Y) - getProperty(┬º┬ºconstant(9), _height),true))
  24.             {
  25.                setProperty(┬º┬ºconstant(9), _X, getProperty(┬º┬ºconstant(9), _X) + eval(┬º┬ºconstant(2)));
  26.             }
  27.             if(eval(┬º┬ºconstant(0))[┬º┬ºconstant(10)][┬º┬ºconstant(6)](getProperty(┬º┬ºconstant(9), _X),getProperty(┬º┬ºconstant(9), _Y) - getProperty(┬º┬ºconstant(9), _height) - 15,true))
  28.             {
  29.                set(┬º┬ºconstant(8),1);
  30.             }
  31.             set(┬º┬ºconstant(12),0);
  32.             set(┬º┬ºconstant(13),0);
  33.             if(eval(┬º┬ºconstant(5))[┬º┬ºconstant(14)] < eval(┬º┬ºconstant(0))[┬º┬ºconstant(15)][┬º┬ºconstant(14)] && !eval(┬º┬ºconstant(16)) && !eval(┬º┬ºconstant(13)) && !eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)](eval(┬º┬ºconstant(0))[┬º┬ºconstant(15)]) && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 10 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 15 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 20 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 25 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 30 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)](eval(┬º┬ºconstant(0))[┬º┬ºconstant(4)]) && eval(┬º┬ºconstant(0))[┬º┬ºconstant(15)][┬º┬ºconstant(17)] != 45 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 35 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 40)
  34.             {
  35.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(14)] += eval(┬º┬ºconstant(18));
  36.                setProperty(┬º┬ºconstant(9), _xscale, eval(┬º┬ºconstant(19)));
  37.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(21)](┬º┬ºconstant(20));
  38.                set(┬º┬ºconstant(16),0);
  39.                set(┬º┬ºconstant(12),1);
  40.             }
  41.             else if(eval(┬º┬ºconstant(5))[┬º┬ºconstant(14)] > eval("{invalid_utf8=142}L{invalid_utf8=204}")[┬º┬ºconstant(15)][┬º┬ºconstant(14)] && !eval(┬º┬ºconstant(16)) && !eval(┬º┬ºconstant(13)) && !eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)](eval("{invalid_utf8=142}L{invalid_utf8=204}")[┬º┬ºconstant(15)]) && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 10 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 15 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 20 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 30 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 25 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)](eval("{invalid_utf8=142}L{invalid_utf8=204}")[┬º┬ºconstant(4)]) && eval("{invalid_utf8=142}L{invalid_utf8=204}")[┬º┬ºconstant(15)][┬º┬ºconstant(17)] != 45 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 35 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 40)
  42.             {
  43.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(14)] -= eval(┬º┬ºconstant(18));
  44.                setProperty(┬º┬ºconstant(9), _xscale, - eval(┬º┬ºconstant(19)));
  45.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(21)](┬º┬ºconstant(20));
  46.                set(┬º┬ºconstant(16),0);
  47.                set(┬º┬ºconstant(12),1);
  48.             }
  49.             if(eval("{invalid_utf8=142}L{invalid_utf8=204}")[┬º┬ºconstant(15)][┬º┬ºconstant(17)] == 45)
  50.             {
  51.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(21)](┬º┬ºconstant(22));
  52.                set(┬º┬ºconstant(12),0);
  53.             }
  54.             if(!eval(┬º┬ºconstant(12)) && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 5)
  55.             {
  56.                set(┬º┬ºconstant(12),0);
  57.             }
  58.             if(eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] == 35)
  59.             {
  60.                eval(┬º┬ºconstant(5))[┬º┬ºconstant(14)] += eval(┬º┬ºconstant(18));
  61.             }
  62.             set(┬º┬ºconstant(23),9);
  63.             set(┬º┬ºconstant(24),1);
  64.             while(eval(┬º┬ºconstant(24)) <= eval(┬º┬ºconstant(23)))
  65.             {
  66.                set(┬º┬ºconstant(25),eval("{invalid_utf8=142}L{invalid_utf8=204}")[┬º┬ºconstant(10)][┬º┬ºconstant(25) + eval(┬º┬ºconstant(24))]);
  67.                if(eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)](eval(┬º┬ºconstant(25))) && eval(┬º┬ºconstant(12)) == 1)
  68.                {
  69.                   set(┬º┬ºconstant(8),- eval(┬º┬ºconstant(26)));
  70.                   setProperty(┬º┬ºconstant(9), _Y, getProperty(┬º┬ºconstant(9), _Y) - 4);
  71.                   set(┬º┬ºconstant(12),0);
  72.                }
  73.                set(┬º┬ºconstant(24),eval(┬º┬ºconstant(24)) + 1);
  74.             }
  75.             set(┬º┬ºconstant(16),0);
  76.             set(┬º┬ºconstant(27),0);
  77.             if(!eval(┬º┬ºconstant(27)) && !eval(┬º┬ºconstant(13)) && !eval(┬º┬ºconstant(16)) && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 25 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 20 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)](eval("{invalid_utf8=142}L{invalid_utf8=204}")[┬º┬ºconstant(15)]))
  78.             {
  79.                if(eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 10 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 15)
  80.                {
  81.                   ┬º┬ºconstant(28)();
  82.                }
  83.                if(eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 10 && eval(┬º┬ºconstant(5))[┬º┬ºconstant(17)] != 15)
  84.                {
  85.                   set(┬º┬ºconstant(16),0);
  86.                }
  87.             }
  88.             break;
  89.          }
  90.          if(eval("\x01") == 230)
  91.          {
  92.             set("\x01",eval("\x01") + 29);
  93.             ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  94.             {
  95.                return 1101 % 511 * 5;
  96.             }));
  97.          }
  98.          else if(eval("\x01") == 986)
  99.          {
  100.             set("\x01",eval("\x01") - 186);
  101.             if(function ┬º\x01\x02┬º()
  102.             {
  103.                return 1101 % 511 * 5;
  104.             })
  105.             {
  106.                set("\x01",eval("\x01") - 11);
  107.             }
  108.          }
  109.          else if(eval("\x01") == 85)
  110.          {
  111.             set("\x01",eval("\x01") + 137);
  112.          }
  113.          else if(eval("\x01") == 14)
  114.          {
  115.             set("\x01",eval("\x01") + 828);
  116.             var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  117.             {
  118.                return 1101 % 511 * 5;
  119.             };
  120.          }
  121.          else if(eval("\x01") == 789)
  122.          {
  123.             set("\x01",eval("\x01") - 567);
  124.          }
  125.          else if(eval("\x01") == 222)
  126.          {
  127.             set("\x01",eval("\x01") - 208);
  128.             ┬º┬ºpush("\x0f");
  129.             ┬º┬ºpush(1);
  130.          }
  131.          else if(eval("\x01") == 842)
  132.          {
  133.             set("\x01",eval("\x01") - 612);
  134.             ┬º┬ºpush("\x0f");
  135.          }
  136.          else if(eval("\x01") == 259)
  137.          {
  138.             set("\x01",eval("\x01") - 21);
  139.             ┬º┬ºpush(!function ┬º\x01\x02┬º()
  140.             {
  141.                return 1101 % 511 * 5;
  142.             });
  143.          }
  144.          else if(eval("\x01") == 582)
  145.          {
  146.             set("\x01",eval("\x01") - 359);
  147.          }
  148.          else
  149.          {
  150.             if(eval("\x01") != 238)
  151.             {
  152.                if(eval("\x01") == 223)
  153.                {
  154.                   set("\x01",eval("\x01") + 375);
  155.                   if(_root.paus3)
  156.                   {
  157.                      speed = 0;
  158.                      maxspeed = 0;
  159.                   }
  160.                   if(!_root.paus3)
  161.                   {
  162.                      if(this.hitTest(_root.camera))
  163.                      {
  164.                         speed = 0;
  165.                         maxspeed = 10;
  166.                         damage = 0;
  167.                         grav++;
  168.                         _Y = _Y + grav;
  169.                         while(_root.ground.hitTest(_X,_Y,true))
  170.                         {
  171.                            _Y--;
  172.                            grav = 0;
  173.                         }
  174.                         if(_root.ground.hitTest(_X + _width / 2 + ex,_Y - _height / 2,true) || _root.ground.hitTest(_X + _width / 2 + ex,_Y - _height / 6,true) || _root.ground.hitTest(_X + _width / 2 + ex,_Y - _height,true))
  175.                         {
  176.                            _X = _X - speed;
  177.                         }
  178.                         if(_root.ground.hitTest(_X - _width / 2 - ex,_Y - _height / 2,true) || _root.ground.hitTest(_X - _width / 2 - ex,_Y - _height / 6,true) || _root.ground.hitTest(_X - _width / 2 - ex,_Y - _height,true))
  179.                         {
  180.                            _X = _X + speed;
  181.                         }
  182.                         if(_root.ground.hitTest(_X,_Y - _height - 15,true))
  183.                         {
  184.                            grav = 1;
  185.                         }
  186.                         moving = 0;
  187.                         above = 0;
  188.                         if(this._x < _root.char._x && !attack && !above && !this.hitTest(_root.char) && this._currentframe != 10 && this._currentframe != 15 && this._currentframe != 20 && this._currentframe != 25 && this._currentframe != 30 && this.hitTest(_root.camera) && _root.char._currentframe != 45 && this._currentframe != 35 && this._currentframe != 40)
  189.                         {
  190.                            this._x += movespeed;
  191.                            _xscale = scale;
  192.                            this.gotoAndStop("run");
  193.                            attack = 0;
  194.                            moving = 1;
  195.                         }
  196.                         else if(this._x > _root.char._x && !attack && !above && !this.hitTest(_root.char) && this._currentframe != 10 && this._currentframe != 15 && this._currentframe != 20 && this._currentframe != 30 && this._currentframe != 25 && this.hitTest(_root.camera) && _root.char._currentframe != 45 && this._currentframe != 35 && this._currentframe != 40)
  197.                         {
  198.                            this._x -= movespeed;
  199.                            _xscale = - scale;
  200.                            this.gotoAndStop("run");
  201.                            attack = 0;
  202.                            moving = 1;
  203.                         }
  204.                         if(_root.char._currentframe == 45)
  205.                         {
  206.                            this.gotoAndStop("idle");
  207.                            moving = 0;
  208.                         }
  209.                         if(!moving && this._currentframe != 5)
  210.                         {
  211.                            moving = 0;
  212.                         }
  213.                         if(this._currentframe == 35)
  214.                         {
  215.                            this._x += movespeed;
  216.                         }
  217.                         jumpHits = 9;
  218.                         i = 1;
  219.                         while(i <= jumpHits)
  220.                         {
  221.                            jumpHit = _root.ground["jumpHit" + i];
  222.                            if(this.hitTest(jumpHit) && moving == 1)
  223.                            {
  224.                               grav = - jumpHeight;
  225.                               _Y = _Y - 4;
  226.                               moving = 0;
  227.                            }
  228.                            i++;
  229.                         }
  230.                         attack = 0;
  231.                         jumping = 0;
  232.                         if(!jumping && !above && !attack && this._currentframe != 25 && this._currentframe != 20 && this.hitTest(_root.char))
  233.                         {
  234.                            if(this._currentframe != 10 && this._currentframe != 15)
  235.                            {
  236.                               attack1();
  237.                            }
  238.                            if(this._currentframe != 10 && this._currentframe != 15)
  239.                            {
  240.                               attack = 0;
  241.                            }
  242.                         }
  243.                      }
  244.                   }
  245.                   break;
  246.                }
  247.                if(eval("\x01") == 598)
  248.                {
  249.                   set("\x01",eval("\x01") - 598);
  250.                }
  251.                break;
  252.             }
  253.             set("\x01",eval("\x01") + 344);
  254.             if(function ┬º\x01\x02┬º()
  255.             {
  256.                return 1101 % 511 * 5;
  257.             })
  258.             {
  259.                set("\x01",eval("\x01") - 359);
  260.             }
  261.          }
  262.       }
  263.    }
  264. }
  265.